const tokenKey = 'HMHZ_22_geek_token'

export const setToken = (token) => localStorage.setItem(tokenKey, token)

export const getToken = () => localStorage.getItem(tokenKey)

export const removeToken = () => localStorage.removeItem(tokenKey)

export const hasToken = () => !!getToken()
